<?php
final class EWebby_UI_Widgets_WidgetWriter {
	private $text = '';

	public function prepend($text) {
		$this->text = $text . $this->text;
	}
	public function write($text) {
		$this->text .= $text;
	}

	public function clear() {
		$this->text = '';
	}

	
	public final function __toString() {
		return $this->text;
	}
}